package com.cloud.adrian.novel.book.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cloud.adrian.novel.book.dao.entity.BookInfo;
import com.cloud.adrian.novel.book.dto.resp.BookInfoRespDto;
import feign.Param;

import java.util.List;

/**
 * @Author: xiangguiliang
 * @version: 1.0
 * @since: 2024/05/20
 */
public interface BookInfoMapper extends BaseMapper<BookInfo> {

    /**
     * 增加小说点击量
     * @param bookId 小说id
     */
    void addVisitCount(@Param("bookId") Long bookId);
}